package com.itzjc.domain.pojo;

import java.io.Serializable;

/**
 * 用来封装返回给前端查询出的所有最新的传感器数据的
 *
 * @className: AllCurrentData
 * @date: 2021-06-28 20:41
 **/
public class AllCurrentData implements Serializable {
    private Integer SectionID;
    private Integer SID;
    private Integer Stype;
    private String Unit;
    private String Location;
    private Double PosX;
    private Double PosY;
    private Double PosZ;
    private Double value;
    private Double Lmax;
    private Double Lmin;

    //有参、空参、set/get、toString


    @Override
    public String toString() {
        return "AllCurrentData{" +
                "SectionID=" + SectionID +
                ", SID=" + SID +
                ", Stype=" + Stype +
                ", Unit='" + Unit + '\'' +
                ", Location='" + Location + '\'' +
                ", PosX=" + PosX +
                ", PosY=" + PosY +
                ", PosZ=" + PosZ +
                ", value=" + value +
                ", Lmax=" + Lmax +
                ", Lmin=" + Lmin +
                '}';
    }

    public Integer getSectionID() {
        return SectionID;
    }

    public void setSectionID(Integer sectionID) {
        SectionID = sectionID;
    }

    public Integer getSID() {
        return SID;
    }

    public void setSID(Integer SID) {
        this.SID = SID;
    }

    public Integer getStype() {
        return Stype;
    }

    public void setStype(Integer stype) {
        Stype = stype;
    }

    public String getUnit() {
        return Unit;
    }

    public void setUnit(String unit) {
        Unit = unit;
    }

    public String getLocation() {
        return Location;
    }

    public void setLocation(String location) {
        Location = location;
    }

    public Double getPosX() {
        return PosX;
    }

    public void setPosX(Double posX) {
        PosX = posX;
    }

    public Double getPosY() {
        return PosY;
    }

    public void setPosY(Double posY) {
        PosY = posY;
    }

    public Double getPosZ() {
        return PosZ;
    }

    public void setPosZ(Double posZ) {
        PosZ = posZ;
    }

    public Double getValue() {
        return value;
    }

    public void setValue(Double value) {
        this.value = value;
    }

    public Double getLmax() {
        return Lmax;
    }

    public void setLmax(Double lmax) {
        Lmax = lmax;
    }

    public Double getLmin() {
        return Lmin;
    }

    public void setLmin(Double lmin) {
        Lmin = lmin;
    }

    public AllCurrentData() {
    }

    public AllCurrentData(Integer sectionID, Integer SID, Integer stype, String unit, String location, Double posX, Double posY, Double posZ, Double value, Double lmax, Double lmin) {
        SectionID = sectionID;
        this.SID = SID;
        Stype = stype;
        Unit = unit;
        Location = location;
        PosX = posX;
        PosY = posY;
        PosZ = posZ;
        this.value = value;
        Lmax = lmax;
        Lmin = lmin;
    }
}
